package com.bbva.general.listeners;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

import com.bbva.general.process.CargaUbigeo;

public class JobCargaUbigeo extends QuartzJobBean
{

	CargaUbigeo cargaUbigeo;

	public CargaUbigeo getCargaUbigeo()
	{
		return cargaUbigeo;
	}

	public void setCargaUbigeo(CargaUbigeo cargaUbigeo)
	{
		this.cargaUbigeo = cargaUbigeo;
	}

	@Override
	protected void executeInternal(JobExecutionContext arg0) throws JobExecutionException
	{
		cargaUbigeo.CargarAutomatica();
	}

}
